<template>
	<view class="ques-suc">
		<view>
			<image :src="$imgUrl + '/personal/success-icon.png'" mode=""></image>
			<view class="tips">提交成功</view>
			<view class="tips-row">积分将于3个工作日到账!</view>
		</view>
		<view class="btn" @click="goIndex">去首页</view>
	</view>
</template>

<script setup lang="ts">
const goIndex = () => {
	uni.switchTab({
		url:'/pages/index/index'
	})
}
</script>
<style>
	page{
		height: 100%;
	}
</style>
<style lang="scss" scoped>
	.ques-suc{
		display: flex;
		flex-direction: column;
		align-items: center;
		height: 100%;
		&>view:nth-child(1){
			text-align: center;
			flex: 1;
		}
		image{
			width: 112rpx;
			height: 112rpx;
			margin-top: 120rpx;
		}
		.tips{
			font-size: 40rpx;
			color: rgba(102, 102, 102, 1);
			margin: 32rpx 0 72rpx 0;
		}
		.tips-row{
			font-size: 32rpx;
			color: rgba(102, 102, 102, 1);
		}
		.btn{
			width: 686rpx;
			height: 84rpx;
			border-radius: 200rpx;
			background: rgba(253, 150, 24, 1);
			color: #fff;
			font-size: 32rpx;
			line-height: 84rpx;
			margin: 68rpx auto;
			text-align: center;
		}
	}
</style>